package com.design.prototype.football;

/**
 * @author xiemiao
 * @description 足球对象
 * @date 2023/08/15
 */
public class Football implements Cloneable {
    private String type;

    private String year;

    public Football() {
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    @Override
    public Football clone() {
        try {
            return (Football) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new AssertionError();
        }
    }

    @Override
    public String toString() {
        return "Football{" +
                "type='" + type + '\'' +
                ", year='" + year + '\'' +
                '}';
    }
}
